<template>
  <div>
    <h1>{{count | addFilter(2)}}</h1>
    <h1>{{count | addFilter1(3)}}</h1>
  </div>

</template>

<script>
export default {
  name : "App",
  data() {
    return {
      count : 100
    }
  },
  filters:{
    addFilter(value,num){
      return "￥" + value.toFixed(num)
    }
  }
}
</script>

<style>

</style>